package org.zgy.stock.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import java.time.LocalDate;

@Data
@Entity
@TableName(value = "stock_price_test")
public class StockPrice {
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 股票编码
     */
    private String stockCode;
    /**
     * 名称
     */
    private String stockName;
    private LocalDate stockDate;
    private Double openPrice;
    private Double closePrice;
    private Double maxPrice;
    private Double minPrice;
    private Integer volume;
    private Double  cje;
    // 涨跌幅
    private Double zdf;
    // 振幅
    private Double zf;
    // 换手率
    private Double hsl;
}
